/*!
  @file image_loader.cpp
  @copyright 2013 Kubota Lab. All rights resereved.
*/

#include <ros/ros.h>
#include "axis_driver/camera_driver.h"

int main(int ac, char **av)
{
  ros::init(ac, av, "ImageLoader");
  ros::NodeHandle nh;
  ros::NodeHandle priv_nh("~");

  std::string camera;
  priv_nh.param<std::string>("camera", camera, camera);
  ros::NodeHandle camera_nh(camera);

  axis_netcam::CameraDriver driver(nh, camera_nh);
  driver.init();
  driver.run();

  ros::spin();
  return 0;
}
